<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>rest_client_c: REST Client</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">rest_client_c
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__REST__API.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#enumval-members">Enumerator</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">REST Client</div>  </div>
</div><!--header-->
<div class="contents">

<p>Easy to use REST client based on libcurl.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structRestResponse.html">RestResponse</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a standard response from REST operations.  <a href="structRestResponse.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structRestRequestBody.html">RestRequestBody</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines a <a class="el" href="structRestRequestBody.html" title="Defines a RestRequestBody that is an optional component to a RestRequest.">RestRequestBody</a> that is an optional component to a <a class="el" href="structRestRequest.html" title="Defines the RestRequest object.">RestRequest</a>.  <a href="structRestRequestBody.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structRestRequest.html">RestRequest</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the <a class="el" href="structRestRequest.html" title="Defines the RestRequest object.">RestRequest</a> object.  <a href="structRestRequest.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structRestClient.html">RestClient</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration for a <a class="el" href="structRestClient.html" title="Configuration for a RestClient.">RestClient</a>.  <a href="structRestClient.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structRestPrivate.html">RestPrivate</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal private state for <a class="el" href="structRestClient.html" title="Configuration for a RestClient.">RestClient</a>.  <a href="structRestPrivate.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structRestFilterTag.html">RestFilterTag</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A linked list of filter functions to apply to the request.  <a href="structRestFilterTag.html#details">More...</a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gab8949645fa8d90e1722d233c6bdfc815"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab8949645fa8d90e1722d233c6bdfc815"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gab8949645fa8d90e1722d233c6bdfc815.html#gab8949645fa8d90e1722d233c6bdfc815">MAX_HEADERS</a>&#160;&#160;&#160;64</td></tr>
<tr class="memdesc:gab8949645fa8d90e1722d233c6bdfc815"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile-time constant for the maximum number of HTTP headers to be passed in a single <a class="el" href="structRestRequest.html" title="Defines the RestRequest object.">RestRequest</a>. <br/></td></tr>
<tr class="memitem:gadfb08e31817eba31a39cbab6810f5756"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadfb08e31817eba31a39cbab6810f5756"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gadfb08e31817eba31a39cbab6810f5756.html#gadfb08e31817eba31a39cbab6810f5756">ERROR_MESSAGE_SIZE</a>&#160;&#160;&#160;255</td></tr>
<tr class="memdesc:gadfb08e31817eba31a39cbab6810f5756"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile-time constant for the maximum size of an error message. <br/></td></tr>
<tr class="memitem:ga8f0595c28440225b49d757497cadf02a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8f0595c28440225b49d757497cadf02a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga8f0595c28440225b49d757497cadf02a.html#ga8f0595c28440225b49d757497cadf02a">CLASS_REST_RESPONSE</a>&#160;&#160;&#160;&quot;RestResponse&quot;</td></tr>
<tr class="memdesc:ga8f0595c28440225b49d757497cadf02a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class name for <a class="el" href="structRestResponse.html" title="This is a standard response from REST operations.">RestResponse</a>. <br/></td></tr>
<tr class="memitem:ga05e7ba50b59a37c411ed334a42f5bb97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga05e7ba50b59a37c411ed334a42f5bb97"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga05e7ba50b59a37c411ed334a42f5bb97.html#ga05e7ba50b59a37c411ed334a42f5bb97">CLASS_REST_REQUEST</a>&#160;&#160;&#160;&quot;RestRequest&quot;</td></tr>
<tr class="memdesc:ga05e7ba50b59a37c411ed334a42f5bb97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class name for <a class="el" href="structRestRequest.html" title="Defines the RestRequest object.">RestRequest</a>. <br/></td></tr>
<tr class="memitem:ga7c8a0c67e6446d0ae680f5cef1737337"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7c8a0c67e6446d0ae680f5cef1737337"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga7c8a0c67e6446d0ae680f5cef1737337.html#ga7c8a0c67e6446d0ae680f5cef1737337">CLASS_REST_CLIENT</a>&#160;&#160;&#160;&quot;RestClient&quot;</td></tr>
<tr class="memdesc:ga7c8a0c67e6446d0ae680f5cef1737337"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class name for <a class="el" href="structRestClient.html" title="Configuration for a RestClient.">RestClient</a>. <br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga87ad9e22b61fc63c7e3d5c86dc1fd6aa"><td class="memItemLeft" align="right" valign="top">typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga87ad9e22b61fc63c7e3d5c86dc1fd6aa.html#ga87ad9e22b61fc63c7e3d5c86dc1fd6aa">rest_curl_config_handler</a> )(<a class="el" href="structRestClient.html">RestClient</a> *rest, CURL *handle)</td></tr>
<tr class="memdesc:ga87ad9e22b61fc63c7e3d5c86dc1fd6aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler callback to perform some sort of configuration on a cURL handle before it's executed (e.g.  <a href="#ga87ad9e22b61fc63c7e3d5c86dc1fd6aa"></a><br/></td></tr>
<tr class="memitem:ga6dfda164728247ced7d2a7e5b05c131e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6dfda164728247ced7d2a7e5b05c131e"></a>
typedef struct <a class="el" href="structRestFilterTag.html">RestFilterTag</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga6dfda164728247ced7d2a7e5b05c131e.html#ga6dfda164728247ced7d2a7e5b05c131e">RestFilter</a></td></tr>
<tr class="memdesc:ga6dfda164728247ced7d2a7e5b05c131e"><td class="mdescLeft">&#160;</td><td class="mdescRight">A linked list of filter functions to apply to the request. <br/></td></tr>
<tr class="memitem:ga5c554f188123cb53ab48484c36c3a743"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga5c554f188123cb53ab48484c36c3a743.html#ga5c554f188123cb53ab48484c36c3a743">rest_http_filter</a> )(<a class="el" href="group__REST__API_ga6dfda164728247ced7d2a7e5b05c131e.html#ga6dfda164728247ced7d2a7e5b05c131e">RestFilter</a> *self, <a class="el" href="structRestClient.html">RestClient</a> *rest, <a class="el" href="structRestRequest.html">RestRequest</a> *request, <a class="el" href="structRestResponse.html">RestResponse</a> *response)</td></tr>
<tr class="memdesc:ga5c554f188123cb53ab48484c36c3a743"><td class="mdescLeft">&#160;</td><td class="mdescRight">An HTTP request filter.  <a href="#ga5c554f188123cb53ab48484c36c3a743"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gaacd5f203e33ac338ca5cb8f02a3ff3b8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gaacd5f203e33ac338ca5cb8f02a3ff3b8.html#gaacd5f203e33ac338ca5cb8f02a3ff3b8">http_method</a> { <br/>
&#160;&#160;<b>POST</b>, 
<b>GET</b>, 
<b>PUT</b>, 
<b>DELETE</b>, 
<br/>
&#160;&#160;<b>HEAD</b>, 
<b>OPTIONS</b>
<br/>
 }</td></tr>
<tr class="memdesc:gaacd5f203e33ac338ca5cb8f02a3ff3b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allowed methods for REST operations. <br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7729c76a3f1f4ea7dbe68f5e6fb804eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structRestResponse.html">RestResponse</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga7729c76a3f1f4ea7dbe68f5e6fb804eb.html#ga7729c76a3f1f4ea7dbe68f5e6fb804eb">RestResponse_init</a> (<a class="el" href="structRestResponse.html">RestResponse</a> *self)</td></tr>
<tr class="memdesc:ga7729c76a3f1f4ea7dbe68f5e6fb804eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a <a class="el" href="structRestResponse.html" title="This is a standard response from REST operations.">RestResponse</a> object.  <a href="#ga7729c76a3f1f4ea7dbe68f5e6fb804eb"></a><br/></td></tr>
<tr class="memitem:ga29c2764d71d33ab560b68d6568862140"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga29c2764d71d33ab560b68d6568862140.html#ga29c2764d71d33ab560b68d6568862140">RestResponse_destroy</a> (<a class="el" href="structRestResponse.html">RestResponse</a> *self)</td></tr>
<tr class="memdesc:ga29c2764d71d33ab560b68d6568862140"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys a <a class="el" href="structRestResponse.html" title="This is a standard response from REST operations.">RestResponse</a> object.  <a href="#ga29c2764d71d33ab560b68d6568862140"></a><br/></td></tr>
<tr class="memitem:gacfb1b3591c0868201babf7adcbd28582"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gacfb1b3591c0868201babf7adcbd28582.html#gacfb1b3591c0868201babf7adcbd28582">RestResponse_add_header</a> (<a class="el" href="structRestResponse.html">RestResponse</a> *self, const char *header)</td></tr>
<tr class="memdesc:gacfb1b3591c0868201babf7adcbd28582"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an HTTP response header to the object.  <a href="#gacfb1b3591c0868201babf7adcbd28582"></a><br/></td></tr>
<tr class="memitem:ga0e73480ef2ae6e69043f511604a83f19"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga0e73480ef2ae6e69043f511604a83f19.html#ga0e73480ef2ae6e69043f511604a83f19">RestResponse_use_buffer</a> (<a class="el" href="structRestResponse.html">RestResponse</a> *self, char *buffer, size_t buffer_size)</td></tr>
<tr class="memdesc:ga0e73480ef2ae6e69043f511604a83f19"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function can be used to preconfigure a static response buffer to capture the response.  <a href="#ga0e73480ef2ae6e69043f511604a83f19"></a><br/></td></tr>
<tr class="memitem:ga60e4231fb371043ea1e1930296314d38"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga60e4231fb371043ea1e1930296314d38.html#ga60e4231fb371043ea1e1930296314d38">RestResponse_use_file</a> (<a class="el" href="structRestResponse.html">RestResponse</a> *self, FILE *f)</td></tr>
<tr class="memdesc:ga60e4231fb371043ea1e1930296314d38"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function can be used to configure the <a class="el" href="structRestResponse.html" title="This is a standard response from REST operations.">RestResponse</a> to store the response body in a file.  <a href="#ga60e4231fb371043ea1e1930296314d38"></a><br/></td></tr>
<tr class="memitem:ga4ed741041689f0ba0af5aa9ae2425b90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structRestRequest.html">RestRequest</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga4ed741041689f0ba0af5aa9ae2425b90.html#ga4ed741041689f0ba0af5aa9ae2425b90">RestRequest_init</a> (<a class="el" href="structRestRequest.html">RestRequest</a> *self, const char *uri, enum <a class="el" href="group__REST__API_gaacd5f203e33ac338ca5cb8f02a3ff3b8.html#gaacd5f203e33ac338ca5cb8f02a3ff3b8">http_method</a> method)</td></tr>
<tr class="memdesc:ga4ed741041689f0ba0af5aa9ae2425b90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new <a class="el" href="structRestRequest.html" title="Defines the RestRequest object.">RestRequest</a> object.  <a href="#ga4ed741041689f0ba0af5aa9ae2425b90"></a><br/></td></tr>
<tr class="memitem:ga1643c4796e06226308ad1d8c19e4f116"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga1643c4796e06226308ad1d8c19e4f116.html#ga1643c4796e06226308ad1d8c19e4f116">RestRequest_destroy</a> (<a class="el" href="structRestRequest.html">RestRequest</a> *self)</td></tr>
<tr class="memdesc:ga1643c4796e06226308ad1d8c19e4f116"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys a <a class="el" href="structRestRequest.html" title="Defines the RestRequest object.">RestRequest</a>.  <a href="#ga1643c4796e06226308ad1d8c19e4f116"></a><br/></td></tr>
<tr class="memitem:gac7d92fd0aed40011a34fe4fa2cf70421"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gac7d92fd0aed40011a34fe4fa2cf70421.html#gac7d92fd0aed40011a34fe4fa2cf70421">RestRequest_set_array_body</a> (<a class="el" href="structRestRequest.html">RestRequest</a> *self, const char *data, off_t data_size, const char *content_type)</td></tr>
<tr class="memdesc:gac7d92fd0aed40011a34fe4fa2cf70421"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="structRestRequest.html" title="Defines the RestRequest object.">RestRequest</a>'s body to an in-memory byte array.  <a href="#gac7d92fd0aed40011a34fe4fa2cf70421"></a><br/></td></tr>
<tr class="memitem:ga322429d39996b9fff6c80dd2d3acf22b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga322429d39996b9fff6c80dd2d3acf22b.html#ga322429d39996b9fff6c80dd2d3acf22b">RestRequest_set_file_body</a> (<a class="el" href="structRestRequest.html">RestRequest</a> *self, FILE *data, off_t data_size, const char *content_type)</td></tr>
<tr class="memdesc:ga322429d39996b9fff6c80dd2d3acf22b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="structRestRequest.html" title="Defines the RestRequest object.">RestRequest</a>'s body to the contents of a file pointer.  <a href="#ga322429d39996b9fff6c80dd2d3acf22b"></a><br/></td></tr>
<tr class="memitem:gaef1d5966124585b238136326938a6d31"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gaef1d5966124585b238136326938a6d31.html#gaef1d5966124585b238136326938a6d31">RestRequest_add_header</a> (<a class="el" href="structRestRequest.html">RestRequest</a> *self, const char *header)</td></tr>
<tr class="memdesc:gaef1d5966124585b238136326938a6d31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an HTTP header to the request.  <a href="#gaef1d5966124585b238136326938a6d31"></a><br/></td></tr>
<tr class="memitem:ga0154e04e8109a08aa4a8773199b84648"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structRestClient.html">RestClient</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga0154e04e8109a08aa4a8773199b84648.html#ga0154e04e8109a08aa4a8773199b84648">RestClient_init</a> (<a class="el" href="structRestClient.html">RestClient</a> *self, const char *host, int port)</td></tr>
<tr class="memdesc:ga0154e04e8109a08aa4a8773199b84648"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a <a class="el" href="structRestClient.html" title="Configuration for a RestClient.">RestClient</a> object.  <a href="#ga0154e04e8109a08aa4a8773199b84648"></a><br/></td></tr>
<tr class="memitem:gac68772582c195829e34a4872a5d0343f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gac68772582c195829e34a4872a5d0343f.html#gac68772582c195829e34a4872a5d0343f">RestClient_destroy</a> (<a class="el" href="structRestClient.html">RestClient</a> *self)</td></tr>
<tr class="memdesc:gac68772582c195829e34a4872a5d0343f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys a <a class="el" href="structRestClient.html" title="Configuration for a RestClient.">RestClient</a> object and its shared-state information.  <a href="#gac68772582c195829e34a4872a5d0343f"></a><br/></td></tr>
<tr class="memitem:ga16e3689da61e8d4be49b0f7bff6fefd1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga16e3689da61e8d4be49b0f7bff6fefd1.html#ga16e3689da61e8d4be49b0f7bff6fefd1">RestClient_set_proxy</a> (<a class="el" href="structRestClient.html">RestClient</a> *self, const char *proxy_host, int proxy_port, const char *proxy_user, const char *proxy_pass)</td></tr>
<tr class="memdesc:ga16e3689da61e8d4be49b0f7bff6fefd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures a <a class="el" href="structRestClient.html" title="Configuration for a RestClient.">RestClient</a> to use a proxy.  <a href="#ga16e3689da61e8d4be49b0f7bff6fefd1"></a><br/></td></tr>
<tr class="memitem:gab355d76d638f2ea2b09299d0b70436e9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gab355d76d638f2ea2b09299d0b70436e9.html#gab355d76d638f2ea2b09299d0b70436e9">rest_verbose_config</a> (<a class="el" href="structRestClient.html">RestClient</a> *rest, CURL *handle)</td></tr>
<tr class="memdesc:gab355d76d638f2ea2b09299d0b70436e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a CURL configuration function that enables verbose logging of the request and response via CURL.  <a href="#gab355d76d638f2ea2b09299d0b70436e9"></a><br/></td></tr>
<tr class="memitem:ga0de010a1957279cf0c7b9f4e1d734ed3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga0de010a1957279cf0c7b9f4e1d734ed3.html#ga0de010a1957279cf0c7b9f4e1d734ed3">rest_proxy_config</a> (<a class="el" href="structRestClient.html">RestClient</a> *rest, CURL *handle)</td></tr>
<tr class="memdesc:ga0de010a1957279cf0c7b9f4e1d734ed3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a CURL configuration function that will check the <a class="el" href="structRestClient.html" title="Configuration for a RestClient.">RestClient</a> to see if a proxy is set and configure the underlying CURL handle to use that proxy.  <a href="#ga0de010a1957279cf0c7b9f4e1d734ed3"></a><br/></td></tr>
<tr class="memitem:ga71b3e85801bc1a75c6a9edd867d2cd24"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga71b3e85801bc1a75c6a9edd867d2cd24.html#ga71b3e85801bc1a75c6a9edd867d2cd24">rest_disable_ssl_cert_check</a> (<a class="el" href="structRestClient.html">RestClient</a> *rest, CURL *handle)</td></tr>
<tr class="memdesc:ga71b3e85801bc1a75c6a9edd867d2cd24"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a CURL configuration function that will disable SSL certificate validation, including host validation.  <a href="#ga71b3e85801bc1a75c6a9edd867d2cd24"></a><br/></td></tr>
<tr class="memitem:gaed5e93884f0e6a9e54f13823a1143126"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gaed5e93884f0e6a9e54f13823a1143126.html#gaed5e93884f0e6a9e54f13823a1143126">rest_curl_shared_config</a> (<a class="el" href="structRestClient.html">RestClient</a> *rest, CURL *handle)</td></tr>
<tr class="memdesc:gaed5e93884f0e6a9e54f13823a1143126"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an internal CURL configuration function that configures the underlying CURL handle to use shared-state information like Cookies, SSL state, and Connection objects.  <a href="#gaed5e93884f0e6a9e54f13823a1143126"></a><br/></td></tr>
<tr class="memitem:gad0944d101867fb49ed2623f5d7a6cc4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gad0944d101867fb49ed2623f5d7a6cc4a.html#gad0944d101867fb49ed2623f5d7a6cc4a">RestClient_execute_request</a> (<a class="el" href="structRestClient.html">RestClient</a> *self, <a class="el" href="group__REST__API_ga6dfda164728247ced7d2a7e5b05c131e.html#ga6dfda164728247ced7d2a7e5b05c131e">RestFilter</a> *filters, <a class="el" href="structRestRequest.html">RestRequest</a> *request, <a class="el" href="structRestResponse.html">RestResponse</a> *response)</td></tr>
<tr class="memdesc:gad0944d101867fb49ed2623f5d7a6cc4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes a REST request.  <a href="#gad0944d101867fb49ed2623f5d7a6cc4a"></a><br/></td></tr>
<tr class="memitem:ga1137f631a9d1f809a6a124d0de95f0c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga1137f631a9d1f809a6a124d0de95f0c6.html#ga1137f631a9d1f809a6a124d0de95f0c6">RestClient_add_curl_config_handler</a> (<a class="el" href="structRestClient.html">RestClient</a> *boss, <a class="el" href="group__REST__API_ga87ad9e22b61fc63c7e3d5c86dc1fd6aa.html#ga87ad9e22b61fc63c7e3d5c86dc1fd6aa">rest_curl_config_handler</a> handler)</td></tr>
<tr class="memdesc:ga1137f631a9d1f809a6a124d0de95f0c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a curl config handler to the client.  <a href="#ga1137f631a9d1f809a6a124d0de95f0c6"></a><br/></td></tr>
<tr class="memitem:gad2a350560fed1b14418e77831717237f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__REST__API_ga6dfda164728247ced7d2a7e5b05c131e.html#ga6dfda164728247ced7d2a7e5b05c131e">RestFilter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gad2a350560fed1b14418e77831717237f.html#gad2a350560fed1b14418e77831717237f">RestFilter_add</a> (<a class="el" href="group__REST__API_ga6dfda164728247ced7d2a7e5b05c131e.html#ga6dfda164728247ced7d2a7e5b05c131e">RestFilter</a> *start, <a class="el" href="group__REST__API_ga5c554f188123cb53ab48484c36c3a743.html#ga5c554f188123cb53ab48484c36c3a743">rest_http_filter</a> next)</td></tr>
<tr class="memdesc:gad2a350560fed1b14418e77831717237f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a filter to the head of the filter chain.  <a href="#gad2a350560fed1b14418e77831717237f"></a><br/></td></tr>
<tr class="memitem:ga9a142aee13d749dbadc1bb35bccff4ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga9a142aee13d749dbadc1bb35bccff4ce.html#ga9a142aee13d749dbadc1bb35bccff4ce">RestFilter_free</a> (<a class="el" href="group__REST__API_ga6dfda164728247ced7d2a7e5b05c131e.html#ga6dfda164728247ced7d2a7e5b05c131e">RestFilter</a> *chain)</td></tr>
<tr class="memdesc:ga9a142aee13d749dbadc1bb35bccff4ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frees a filter chain.  <a href="#ga9a142aee13d749dbadc1bb35bccff4ce"></a><br/></td></tr>
<tr class="memitem:gabc9a93f9a6ddc2528115853396b485f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gabc9a93f9a6ddc2528115853396b485f1.html#gabc9a93f9a6ddc2528115853396b485f1">RestFilter_set_content_headers</a> (<a class="el" href="group__REST__API_ga6dfda164728247ced7d2a7e5b05c131e.html#ga6dfda164728247ced7d2a7e5b05c131e">RestFilter</a> *self, <a class="el" href="structRestClient.html">RestClient</a> *rest, <a class="el" href="structRestRequest.html">RestRequest</a> *request, <a class="el" href="structRestResponse.html">RestResponse</a> *response)</td></tr>
<tr class="memdesc:gabc9a93f9a6ddc2528115853396b485f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This RestFilter function sets the Content-Type and Content-Length headers on the request and parses them from the response stream (if not already set).  <a href="#gabc9a93f9a6ddc2528115853396b485f1"></a><br/></td></tr>
<tr class="memitem:ga541a53a9ff5697d4fff8accdc999f957"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga541a53a9ff5697d4fff8accdc999f957.html#ga541a53a9ff5697d4fff8accdc999f957">RestFilter_execute_curl_request</a> (<a class="el" href="group__REST__API_ga6dfda164728247ced7d2a7e5b05c131e.html#ga6dfda164728247ced7d2a7e5b05c131e">RestFilter</a> *self, <a class="el" href="structRestClient.html">RestClient</a> *rest, <a class="el" href="structRestRequest.html">RestRequest</a> *request, <a class="el" href="structRestResponse.html">RestResponse</a> *response)</td></tr>
<tr class="memdesc:ga541a53a9ff5697d4fff8accdc999f957"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is usually the last filter in the chain and executes the HTTP request using cURL.  <a href="#ga541a53a9ff5697d4fff8accdc999f957"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga4372ccd44ab3cdeaabd3c2ab806510a3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4372ccd44ab3cdeaabd3c2ab806510a3"></a>
<a class="el" href="structObject.html">Object</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga4372ccd44ab3cdeaabd3c2ab806510a3.html#ga4372ccd44ab3cdeaabd3c2ab806510a3">RestResponse::parent</a></td></tr>
<tr class="memdesc:ga4372ccd44ab3cdeaabd3c2ab806510a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parent class's fields. <br/></td></tr>
<tr class="memitem:ga85a61f90362e9f93e702cad1032d468f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga85a61f90362e9f93e702cad1032d468f.html#ga85a61f90362e9f93e702cad1032d468f">RestResponse::http_code</a></td></tr>
<tr class="memdesc:ga85a61f90362e9f93e702cad1032d468f"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP code of the last operation.  <a href="#ga85a61f90362e9f93e702cad1032d468f"></a><br/></td></tr>
<tr class="memitem:ga6e3399e311a316ac012548a94234037c"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga6e3399e311a316ac012548a94234037c.html#ga6e3399e311a316ac012548a94234037c">RestResponse::http_status</a> [<a class="el" href="group__REST__API_gadfb08e31817eba31a39cbab6810f5756.html#gadfb08e31817eba31a39cbab6810f5756">ERROR_MESSAGE_SIZE</a>]</td></tr>
<tr class="memdesc:ga6e3399e311a316ac012548a94234037c"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP status line of the last operation.  <a href="#ga6e3399e311a316ac012548a94234037c"></a><br/></td></tr>
<tr class="memitem:ga130c895035dbbf0b5c2078850ddc6b79"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga130c895035dbbf0b5c2078850ddc6b79.html#ga130c895035dbbf0b5c2078850ddc6b79">RestResponse::curl_error</a></td></tr>
<tr class="memdesc:ga130c895035dbbf0b5c2078850ddc6b79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error code from libcurl.  <a href="#ga130c895035dbbf0b5c2078850ddc6b79"></a><br/></td></tr>
<tr class="memitem:ga07ffe62eff3ae6cc18ba3710d7e7de79"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga07ffe62eff3ae6cc18ba3710d7e7de79"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga07ffe62eff3ae6cc18ba3710d7e7de79.html#ga07ffe62eff3ae6cc18ba3710d7e7de79">RestResponse::curl_error_message</a> [CURL_ERROR_SIZE]</td></tr>
<tr class="memdesc:ga07ffe62eff3ae6cc18ba3710d7e7de79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contains a textual error message from libcurl. <br/></td></tr>
<tr class="memitem:ga573727c86da0b377b7d0bb87f69908a1"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga573727c86da0b377b7d0bb87f69908a1.html#ga573727c86da0b377b7d0bb87f69908a1">RestResponse::response_headers</a> [<a class="el" href="group__REST__API_gab8949645fa8d90e1722d233c6bdfc815.html#gab8949645fa8d90e1722d233c6bdfc815">MAX_HEADERS</a>]</td></tr>
<tr class="memdesc:ga573727c86da0b377b7d0bb87f69908a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Response headers parsed from the HTTP response.  <a href="#ga573727c86da0b377b7d0bb87f69908a1"></a><br/></td></tr>
<tr class="memitem:ga882bbdbf00fa03923dce4899e36740b5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga882bbdbf00fa03923dce4899e36740b5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga882bbdbf00fa03923dce4899e36740b5.html#ga882bbdbf00fa03923dce4899e36740b5">RestResponse::response_header_count</a></td></tr>
<tr class="memdesc:ga882bbdbf00fa03923dce4899e36740b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of response headers present in the response_headers array. <br/></td></tr>
<tr class="memitem:ga4f673cbc9fd671e9e45e44286cc47028"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga4f673cbc9fd671e9e45e44286cc47028.html#ga4f673cbc9fd671e9e45e44286cc47028">RestResponse::content_type</a></td></tr>
<tr class="memdesc:ga4f673cbc9fd671e9e45e44286cc47028"><td class="mdescLeft">&#160;</td><td class="mdescRight">Content type of the response.  <a href="#ga4f673cbc9fd671e9e45e44286cc47028"></a><br/></td></tr>
<tr class="memitem:gaf4b21f9ce17e9d44e6049a30c887d2c2"><td class="memItemLeft" align="right" valign="top">off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gaf4b21f9ce17e9d44e6049a30c887d2c2.html#gaf4b21f9ce17e9d44e6049a30c887d2c2">RestResponse::content_length</a></td></tr>
<tr class="memdesc:gaf4b21f9ce17e9d44e6049a30c887d2c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bytes in the response.  <a href="#gaf4b21f9ce17e9d44e6049a30c887d2c2"></a><br/></td></tr>
<tr class="memitem:ga383cc64782778a32743eb846031e6c5e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga383cc64782778a32743eb846031e6c5e"></a>
char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga383cc64782778a32743eb846031e6c5e.html#ga383cc64782778a32743eb846031e6c5e">RestResponse::body</a></td></tr>
<tr class="memdesc:ga383cc64782778a32743eb846031e6c5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The buffer containing the response body. <br/></td></tr>
<tr class="memitem:gac6ae52e6316f7819901ba5fd818f8425"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gac6ae52e6316f7819901ba5fd818f8425.html#gac6ae52e6316f7819901ba5fd818f8425">RestResponse::buffer_size</a></td></tr>
<tr class="memdesc:gac6ae52e6316f7819901ba5fd818f8425"><td class="mdescLeft">&#160;</td><td class="mdescRight">If use_buffer is nonzero, this is the maximum number of bytes that can be written into the body buffer.  <a href="#gac6ae52e6316f7819901ba5fd818f8425"></a><br/></td></tr>
<tr class="memitem:gae2485658ff0501edb5274641964ba31f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gae2485658ff0501edb5274641964ba31f.html#gae2485658ff0501edb5274641964ba31f">RestResponse::use_buffer</a></td></tr>
<tr class="memdesc:gae2485658ff0501edb5274641964ba31f"><td class="mdescLeft">&#160;</td><td class="mdescRight">If nonzero, the user has provided us with a static buffer to fill with the response.  <a href="#gae2485658ff0501edb5274641964ba31f"></a><br/></td></tr>
<tr class="memitem:ga6955db18d63c89803e6cabf9602bd7fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6955db18d63c89803e6cabf9602bd7fc"></a>
FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga6955db18d63c89803e6cabf9602bd7fc.html#ga6955db18d63c89803e6cabf9602bd7fc">RestResponse::file_body</a></td></tr>
<tr class="memdesc:ga6955db18d63c89803e6cabf9602bd7fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">If not-NULL, the response body will be written to this file handle instead of memory. <br/></td></tr>
<tr class="memitem:ga14dc79399d9b029c58d3293829933354"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga14dc79399d9b029c58d3293829933354.html#ga14dc79399d9b029c58d3293829933354">RestRequestBody::content_type</a></td></tr>
<tr class="memdesc:ga14dc79399d9b029c58d3293829933354"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of content, e.g.  <a href="#ga14dc79399d9b029c58d3293829933354"></a><br/></td></tr>
<tr class="memitem:ga4f04ad0761b64ab07e5becd2a3e79950"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4f04ad0761b64ab07e5becd2a3e79950"></a>
off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga4f04ad0761b64ab07e5becd2a3e79950.html#ga4f04ad0761b64ab07e5becd2a3e79950">RestRequestBody::data_size</a></td></tr>
<tr class="memdesc:ga4f04ad0761b64ab07e5becd2a3e79950"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bytes to write. <br/></td></tr>
<tr class="memitem:gab64d46b9833a6e3ac2870ceafc9e9b17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab64d46b9833a6e3ac2870ceafc9e9b17"></a>
off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gab64d46b9833a6e3ac2870ceafc9e9b17.html#gab64d46b9833a6e3ac2870ceafc9e9b17">RestRequestBody::bytes_written</a></td></tr>
<tr class="memdesc:gab64d46b9833a6e3ac2870ceafc9e9b17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bytes written to the request stream. <br/></td></tr>
<tr class="memitem:ga462dc7c41f1562cd9a1639bc0229f803"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga462dc7c41f1562cd9a1639bc0229f803"></a>
off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga462dc7c41f1562cd9a1639bc0229f803.html#ga462dc7c41f1562cd9a1639bc0229f803">RestRequestBody::bytes_remaining</a></td></tr>
<tr class="memdesc:ga462dc7c41f1562cd9a1639bc0229f803"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bytes remaining to write to the request stream. <br/></td></tr>
<tr class="memitem:ga47974a523f5fcddf9025c09ba69aa088"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga47974a523f5fcddf9025c09ba69aa088"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga47974a523f5fcddf9025c09ba69aa088.html#ga47974a523f5fcddf9025c09ba69aa088">RestRequestBody::body</a></td></tr>
<tr class="memdesc:ga47974a523f5fcddf9025c09ba69aa088"><td class="mdescLeft">&#160;</td><td class="mdescRight">Memory buffer containing the request (NULL if using file_body) <br/></td></tr>
<tr class="memitem:gac93686e2abff8bf6aeaa58bd167374a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac93686e2abff8bf6aeaa58bd167374a5"></a>
FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gac93686e2abff8bf6aeaa58bd167374a5.html#gac93686e2abff8bf6aeaa58bd167374a5">RestRequestBody::file_body</a></td></tr>
<tr class="memdesc:gac93686e2abff8bf6aeaa58bd167374a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">File pointiner containing the request data (NULL if using body) <br/></td></tr>
<tr class="memitem:ga5defa6b00f8f5eaac419a16d703ce89f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5defa6b00f8f5eaac419a16d703ce89f"></a>
<a class="el" href="structObject.html">Object</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga5defa6b00f8f5eaac419a16d703ce89f.html#ga5defa6b00f8f5eaac419a16d703ce89f">RestRequest::parent</a></td></tr>
<tr class="memdesc:ga5defa6b00f8f5eaac419a16d703ce89f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parent class's fields. <br/></td></tr>
<tr class="memitem:ga1ab47fa3b2878d6f8e81609d884495ca"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__REST__API_gaacd5f203e33ac338ca5cb8f02a3ff3b8.html#gaacd5f203e33ac338ca5cb8f02a3ff3b8">http_method</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga1ab47fa3b2878d6f8e81609d884495ca.html#ga1ab47fa3b2878d6f8e81609d884495ca">RestRequest::method</a></td></tr>
<tr class="memdesc:ga1ab47fa3b2878d6f8e81609d884495ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">The HTTP operation for the request (e.g.  <a href="#ga1ab47fa3b2878d6f8e81609d884495ca"></a><br/></td></tr>
<tr class="memitem:gac06040805bc8b39a5246e876dafe2f4c"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gac06040805bc8b39a5246e876dafe2f4c.html#gac06040805bc8b39a5246e876dafe2f4c">RestRequest::uri</a></td></tr>
<tr class="memdesc:gac06040805bc8b39a5246e876dafe2f4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The URI for the request (e.g.  <a href="#gac06040805bc8b39a5246e876dafe2f4c"></a><br/></td></tr>
<tr class="memitem:gab85209cefe45575c818af715d9a49d5c"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gab85209cefe45575c818af715d9a49d5c.html#gab85209cefe45575c818af715d9a49d5c">RestRequest::headers</a> [<a class="el" href="group__REST__API_gab8949645fa8d90e1722d233c6bdfc815.html#gab8949645fa8d90e1722d233c6bdfc815">MAX_HEADERS</a>]</td></tr>
<tr class="memdesc:gab85209cefe45575c818af715d9a49d5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP request headers, (e.g.  <a href="#gab85209cefe45575c818af715d9a49d5c"></a><br/></td></tr>
<tr class="memitem:ga9f988ab7e670fb3f0bf64663a0d6b1e6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9f988ab7e670fb3f0bf64663a0d6b1e6"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga9f988ab7e670fb3f0bf64663a0d6b1e6.html#ga9f988ab7e670fb3f0bf64663a0d6b1e6">RestRequest::header_count</a></td></tr>
<tr class="memdesc:ga9f988ab7e670fb3f0bf64663a0d6b1e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of request headers. <br/></td></tr>
<tr class="memitem:gacb466a60f781ea59c2922a1a68a3b9ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structRestRequestBody.html">RestRequestBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gacb466a60f781ea59c2922a1a68a3b9ef.html#gacb466a60f781ea59c2922a1a68a3b9ef">RestRequest::request_body</a></td></tr>
<tr class="memdesc:gacb466a60f781ea59c2922a1a68a3b9ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Optional body for the request.  <a href="#gacb466a60f781ea59c2922a1a68a3b9ef"></a><br/></td></tr>
<tr class="memitem:ga6e0fae75ec7e35eab6b198ef65d4aa04"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6e0fae75ec7e35eab6b198ef65d4aa04"></a>
<a class="el" href="structObject.html">Object</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga6e0fae75ec7e35eab6b198ef65d4aa04.html#ga6e0fae75ec7e35eab6b198ef65d4aa04">RestClient::parent</a></td></tr>
<tr class="memdesc:ga6e0fae75ec7e35eab6b198ef65d4aa04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parent class's fields. <br/></td></tr>
<tr class="memitem:gafc21518ea4ec6996d1716420249f99c1"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gafc21518ea4ec6996d1716420249f99c1.html#gafc21518ea4ec6996d1716420249f99c1">RestClient::host</a></td></tr>
<tr class="memdesc:gafc21518ea4ec6996d1716420249f99c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Host name or IP of REST server.  <a href="#gafc21518ea4ec6996d1716420249f99c1"></a><br/></td></tr>
<tr class="memitem:gaa006d5a56c10f17d1c82d0fd3293d211"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa006d5a56c10f17d1c82d0fd3293d211"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gaa006d5a56c10f17d1c82d0fd3293d211.html#gaa006d5a56c10f17d1c82d0fd3293d211">RestClient::port</a></td></tr>
<tr class="memdesc:gaa006d5a56c10f17d1c82d0fd3293d211"><td class="mdescLeft">&#160;</td><td class="mdescRight">Port number, generally 80 or 443. <br/></td></tr>
<tr class="memitem:ga1414831e16828fef5989884c8b56ab8c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1414831e16828fef5989884c8b56ab8c"></a>
char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga1414831e16828fef5989884c8b56ab8c.html#ga1414831e16828fef5989884c8b56ab8c">RestClient::proxy_host</a></td></tr>
<tr class="memdesc:ga1414831e16828fef5989884c8b56ab8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Host name or IP of proxy (NULL disables) <br/></td></tr>
<tr class="memitem:ga1e15c916347c244f2d96a88c08620d96"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1e15c916347c244f2d96a88c08620d96"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga1e15c916347c244f2d96a88c08620d96.html#ga1e15c916347c244f2d96a88c08620d96">RestClient::proxy_port</a></td></tr>
<tr class="memdesc:ga1e15c916347c244f2d96a88c08620d96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use -1 for default. <br/></td></tr>
<tr class="memitem:gae5e5ec7311b433934f57642663feaadf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae5e5ec7311b433934f57642663feaadf"></a>
char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_gae5e5ec7311b433934f57642663feaadf.html#gae5e5ec7311b433934f57642663feaadf">RestClient::proxy_user</a></td></tr>
<tr class="memdesc:gae5e5ec7311b433934f57642663feaadf"><td class="mdescLeft">&#160;</td><td class="mdescRight">User to authenticate with proxy (NULL disables) <br/></td></tr>
<tr class="memitem:ga269691637a4475619f300ad3aa14a560"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga269691637a4475619f300ad3aa14a560"></a>
char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga269691637a4475619f300ad3aa14a560.html#ga269691637a4475619f300ad3aa14a560">RestClient::proxy_pass</a></td></tr>
<tr class="memdesc:ga269691637a4475619f300ad3aa14a560"><td class="mdescLeft">&#160;</td><td class="mdescRight">Password for proxy user. <br/></td></tr>
<tr class="memitem:ga32a9ac16b044aabab9ae6a088fe1b706"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga32a9ac16b044aabab9ae6a088fe1b706"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga32a9ac16b044aabab9ae6a088fe1b706.html#ga32a9ac16b044aabab9ae6a088fe1b706">RestClient::internal</a></td></tr>
<tr class="memdesc:ga32a9ac16b044aabab9ae6a088fe1b706"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal data, do not modify. <br/></td></tr>
<tr class="memitem:ga6c1c6125165d31f0fa3d6fdab8b1c445"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6c1c6125165d31f0fa3d6fdab8b1c445"></a>
CURLSH *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga6c1c6125165d31f0fa3d6fdab8b1c445.html#ga6c1c6125165d31f0fa3d6fdab8b1c445">RestPrivate::curl_shared</a></td></tr>
<tr class="memdesc:ga6c1c6125165d31f0fa3d6fdab8b1c445"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shared-state information for CURL. <br/></td></tr>
<tr class="memitem:ga798122179571c69da752fe8c2dafa255"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga798122179571c69da752fe8c2dafa255"></a>
<a class="el" href="group__REST__API_ga87ad9e22b61fc63c7e3d5c86dc1fd6aa.html#ga87ad9e22b61fc63c7e3d5c86dc1fd6aa">rest_curl_config_handler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga798122179571c69da752fe8c2dafa255.html#ga798122179571c69da752fe8c2dafa255">RestPrivate::handlers</a></td></tr>
<tr class="memdesc:ga798122179571c69da752fe8c2dafa255"><td class="mdescLeft">&#160;</td><td class="mdescRight">Array of functions implementing rest_curl_config_handler to configure the low-level CURL request object. <br/></td></tr>
<tr class="memitem:ga8ff264d3cb204ec0f983ede6ee04a55f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8ff264d3cb204ec0f983ede6ee04a55f"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga8ff264d3cb204ec0f983ede6ee04a55f.html#ga8ff264d3cb204ec0f983ede6ee04a55f">RestPrivate::curl_config_handler_count</a></td></tr>
<tr class="memdesc:ga8ff264d3cb204ec0f983ede6ee04a55f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of CURL config handler functions in the array. <br/></td></tr>
<tr class="memitem:ga6c781ac6f78e228903cbaa7e1e3ebc96"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6c781ac6f78e228903cbaa7e1e3ebc96"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga6c781ac6f78e228903cbaa7e1e3ebc96.html#ga6c781ac6f78e228903cbaa7e1e3ebc96">RestFilterTag::func</a></td></tr>
<tr class="memdesc:ga6c781ac6f78e228903cbaa7e1e3ebc96"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function pointer implementing rest_http_filter. <br/></td></tr>
<tr class="memitem:ga792379d6dec235c62013ca6f3258c76f"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structRestFilterTag.html">RestFilterTag</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__REST__API_ga792379d6dec235c62013ca6f3258c76f.html#ga792379d6dec235c62013ca6f3258c76f">RestFilterTag::next</a></td></tr>
<tr class="memdesc:ga792379d6dec235c62013ca6f3258c76f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The next RestFilter to execute.  <a href="#ga792379d6dec235c62013ca6f3258c76f"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>Easy to use REST client based on libcurl. </p>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Fri Oct 19 2012 13:02:48 for rest_client_c by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.1 </li>
  </ul>
</div>
</body>
</html>
